package com.hxexp.weixin.mvc.passenger.model;

/**
 * 由页面提交过来的订单信息
 *
 * @author wang.bin
 * @author li.jiang
 */
public final class OrderPaymentInfoBean {

    /**
     * 班次类型
     */
    private String schType;
    /**
     * 车次
     */
    private String regBusNo;
    /**
     * 车型名称
     */
    private String busTypeName;
    /**
     * 出发站名称
     */
    private String startStationName;
    /**
     * 到达站名称
     */
    private String arriveStationName;
    /**
     * 发车时间
     */
    private String leaveTime;
    /**
     * 发车日期
     */
    private String leaveDate;
    /**
     * 订单号
     */
    private String orderId;
    /**
     * 服务费
     */
    private String serviceprice;
    /**
     * 包含服务费的总价
     */
    private String totalprices;
    /**
     * 全价票数量
     */
    private String fullTicketNum;
    /**
     * 半价票数量
     */
    private String halfTicketNum;
    /**
     * 免票数量
     */
    private String freeTicketNum;
    /**
     * 全票价
     */
    private String price;
    /**
     * 半票价
     */
    private String halfPrice;
    /**
     * 订单编号，页面显示用
     */
    private String orderpnr;
    /**
     * 出发站ID
     */
    private String startstationId;
    /**
     * 线路类型ID
     */
    private String lineTypeId;
    /**
     * 优惠总金额
     */
    private String totalPrivilegeAmount;
    /**
     * 是否优惠标示
     */
    private boolean hasPrivilege;

    public String getSchType() {
        return schType;
    }

    public void setSchType(String schType) {
        this.schType = schType;
    }

    public String getRegBusNo() {
        return regBusNo;
    }

    public void setRegBusNo(String regBusNo) {
        this.regBusNo = regBusNo;
    }

    public String getBusTypeName() {
        return busTypeName;
    }

    public void setBusTypeName(String busTypeName) {
        this.busTypeName = busTypeName;
    }

    public String getStartStationName() {
        return startStationName;
    }

    public void setStartStationName(String startStationName) {
        this.startStationName = startStationName;
    }

    public String getArriveStationName() {
        return arriveStationName;
    }

    public void setArriveStationName(String arriveStationName) {
        this.arriveStationName = arriveStationName;
    }

    public String getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(String leaveTime) {
        this.leaveTime = leaveTime;
    }

    public String getLeaveDate() {
        return leaveDate;
    }

    public void setLeaveDate(String leaveDate) {
        this.leaveDate = leaveDate;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getServiceprice() {
        return serviceprice;
    }

    public void setServiceprice(String serviceprice) {
        this.serviceprice = serviceprice;
    }

    public String getTotalprices() {
        return totalprices;
    }

    public void setTotalprices(String totalprices) {
        this.totalprices = totalprices;
    }

    public String getFullTicketNum() {
        return fullTicketNum;
    }

    public void setFullTicketNum(String fullTicketNum) {
        this.fullTicketNum = fullTicketNum;
    }

    public String getHalfTicketNum() {
        return halfTicketNum;
    }

    public void setHalfTicketNum(String halfTicketNum) {
        this.halfTicketNum = halfTicketNum;
    }

    public String getFreeTicketNum() {
        return freeTicketNum;
    }

    public void setFreeTicketNum(String freeTicketNum) {
        this.freeTicketNum = freeTicketNum;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getHalfPrice() {
        return halfPrice;
    }

    public void setHalfPrice(String halfPrice) {
        this.halfPrice = halfPrice;
    }

    /**
     * @return the orderpnr
     */
    public String getOrderpnr() {
        return orderpnr;
    }

    /**
     * @param orderpnr
     *            the orderpnr to set
     */
    public void setOrderpnr(String orderpnr) {
        this.orderpnr = orderpnr;
    }

    /**
     * @return the startstationId
     */
    public String getStartstationId() {
        return startstationId;
    }

    /**
     * @param startstationId
     *            the startstationId to set
     */
    public void setStartstationId(String startstationId) {
        this.startstationId = startstationId;
    }

    /**
     * @return the lineTypeId
     */
    public String getLineTypeId() {
        return lineTypeId;
    }

    /**
     * @param lineTypeId
     *            the lineTypeId to set
     */
    public void setLineTypeId(String lineTypeId) {
        this.lineTypeId = lineTypeId;
    }

    /**
     * @return the totalPrivilegeAmount
     */
    public String getTotalPrivilegeAmount() {
        return totalPrivilegeAmount;
    }

    /**
     * @param totalPrivilegeAmount
     *            the totalPrivilegeAmount to set
     */
    public void setTotalPrivilegeAmount(String totalPrivilegeAmount) {
        this.totalPrivilegeAmount = totalPrivilegeAmount;
    }

    /**
     * @return the hasPrivilege
     */
    public boolean isHasPrivilege() {
        return hasPrivilege;
    }

    /**
     * @param hasPrivilege
     *            the hasPrivilege to set
     */
    public void setHasPrivilege(boolean hasPrivilege) {
        this.hasPrivilege = hasPrivilege;
    }

    /*
     * (non-Javadoc)
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return String
                .format("OrderPaymentInfoBean [schType=%s, regBusNo=%s, busTypeName=%s, startStationName=%s, arriveStationName=%s, leaveTime=%s, leaveDate=%s, orderId=%s, serviceprice=%s, totalprices=%s, fullTicketNum=%s, halfTicketNum=%s, freeTicketNum=%s, price=%s, halfPrice=%s, orderpnr=%s, startstationId=%s,lineTypeId=%s,totalPrivilegeAmount=%s]",
                        schType, regBusNo, busTypeName, startStationName, arriveStationName, leaveTime, leaveDate, orderId, serviceprice,
                        totalprices, fullTicketNum, halfTicketNum, freeTicketNum, price, halfPrice, orderpnr, startstationId, lineTypeId,
                        totalPrivilegeAmount);
    }

}
